//定义小仓库
import { defineStore } from "pinia";
import {reqBanner} from '../api/home/index.js'
let useBannerStore = defineStore('banner',{
    state:()=>({
        bannerList:[],
        interesting:[],
        Recommend:[],
        workLists:[]
    })
    ,
    actions:{
        // async getC1List() {
        //     //获取一级分类的数据
        //     let result = await reqC1List();
        //     this.c1List = result;
        // },

    }
    ,
    getters:{
        
    }

});

export default useBannerStore;